<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 228px;
            height: 270px;
            border: 1px red solid;
            margin: 100px auto;
            position: relative;
        }

        .box>img {
            position: absolute;
            top: 10px;
            right: -5px;
        }

        .txt p:first-child {
            font-size: 14px;
            text-align: center;
        }

        .txt p:last-child {
            font-size: 12px;
            text-align: center;
            color: #929292;
        }

        .txt p:last-child span {
            color: #f77321;
        }

        .txt {
            padding-top: 15px;
            transform: translateY(-55px);
            transition: all .5s;
        }

        .box:hover .txt {
            /* 位移 y坐标 */
            transform: translateY(-85px);
        }

        .top_img {
            width: 228px;
            height: 152px;
            overflow: hidden;

        }

        .top_img img {
            /* 过度效果 */
            transition: all .5s;
        }

        .box:hover .top_img img {
            /* 缩放 1.2倍 */
            transform: scale(1.2)
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="top_img">
            <img src="./images/product.png" alt="" width="100%">
        </div>
        <img src="./images/hot.png" alt="">
        <!--  -->
        <div class="txt">
            <p>Android网络图片加载框架详解</p>
            <p><span>高级</span> • 1125人在学习</p>
        </div>
    </div>
</body>

</html>